var resize = function(){
    var width = Nui.win.width();
    var elem = $('body');
    if(width > 1470){
        elem.removeClass('l-body-small')
    }
    else{
        elem.addClass('l-body-small')
        if(width <= 1000){
            
        }
    }
}

var timer = null;
Nui.win.resize(function(){
    clearTimeout(timer);
    timer = setTimeout(function(){
        resize()
    }, 50)
})

return resize